package net.lesscoding.message;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author eleven
 * @date 2024/11/6 11:24
 * @apiNote
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HeartBeatMessage extends Message{

    private String msg;
    @Override
    public int getMessageType() {
        return HEART_BEAT;
    }

    public static final HeartBeatMessage INSTANCE = new HeartBeatMessage("heartBeat");
}
